<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jQuery</title>
		<script src="./jQuery.js"></script>
		<style>
			ul li.on{
				background-color: #f00;
			}
			.color{
				color:yellow;
				font-size: 20px;
			}
			#box{
				width: 200px;
				height: 200px;
				background-color: #f00;
				padding: 40px;
				margin: 30px;
				border: 25px solid #000;
				position: absolute;
				left: 100px;
				top: 100px;
			}
		</style>
	</head>
	<body>
		
		
		<div id="box" class="box">
			<p>555</p>
		</div>
		<div id="box1" class="box">
			<img src="./img/1.jpg" alt="">
		</div>
		<div class="content">
			<ul>
				<li class='color'>001</li>
				<li class='color'>002</li>
				<li class='color'>003</li>
				<li class='color'>004</li>
				<li class='color'>005</li>
				<li class='color'>006</li>
				<li class='color'>007</li>
				<li class='color'>008</li>
				<li class='color'>009</li>
				<li class='color'>010</li>
			</ul>
		</div>
		
		
		<script>
		
			 console.log($('#box').scrollTop());
			 $('#box').position({
				 left:800
			 })
			
		</script>
	</body>
</html>